package org.example.microservice.basedata;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@Slf4j
@EnableFeignClients(basePackages = {"org.example.microservice.sys.api.feign"})
public class BasedataApplication implements ApplicationRunner {

    public static void main(String[] args) {
        SpringApplication.run(BasedataApplication.class, args);
    }

    @Override
    public void run(ApplicationArguments args) throws Exception {
        log.info("basedata启动成功！");
    }
}
